package cn.yunhe.model;

import java.math.BigDecimal;
import java.util.Date;

public class House {

	
	private int id;
	private UserRegs user_id;
	private Type type_id;
	private String title;
	private String description;
	private BigDecimal price;
	private Date pubdate;
	private int floorage;
	private String contact;
	private Street street_id;
	private String pic;
	
	
	
	
	
	
	public House() {
		
	}


	public House( UserRegs user_id, Type type_id, String title, String description, BigDecimal price, Date pubdate,
			int floorage, String contact, Street street_id, String pic) {
		
		
		this.user_id = user_id;
		this.type_id = type_id;
		this.title = title;
		this.description = description;
		this.price = price;
		this.pubdate = pubdate;
		this.floorage = floorage;
		this.contact = contact;
		this.street_id = street_id;
		this.pic = pic;
	}



	public House(int id, UserRegs user_id, Type type_id, String title, String description, BigDecimal price, Date pubdate,
			int floorage, String contact, Street street_id, String pic) {
		super();
		this.id = id;
		this.user_id = user_id;
		this.type_id = type_id;
		this.title = title;
		this.description = description;
		this.price = price;
		this.pubdate = pubdate;
		this.floorage = floorage;
		this.contact = contact;
		this.street_id = street_id;
		this.pic = pic;
	}






	public int getId() {
		return id;
	}






	public void setId(int id) {
		this.id = id;
	}






	public UserRegs getUser_id() {
		return user_id;
	}






	public void setUser_id(UserRegs user_id) {
		this.user_id = user_id;
	}






	public Type getType_id() {
		return type_id;
	}






	public void setType_id(Type type_id) {
		this.type_id = type_id;
	}






	public String getTitle() {
		return title;
	}






	public void setTitle(String title) {
		this.title = title;
	}






	public String getDescription() {
		return description;
	}






	public void setDescription(String description) {
		this.description = description;
	}






	public BigDecimal getPrice() {
		return price;
	}






	public void setPrice(BigDecimal price) {
		this.price = price;
	}






	public Date getPubdate() {
		return pubdate;
	}






	public void setPubdate(Date pubdate) {
		this.pubdate = pubdate;
	}






	public int getFloorage() {
		return floorage;
	}






	public void setFloorage(int floorage) {
		this.floorage = floorage;
	}






	public String getContact() {
		return contact;
	}






	public void setContact(String contact) {
		this.contact = contact;
	}






	public Street getStreet_id() {
		return street_id;
	}






	public void setStreet_id(Street street_id) {
		this.street_id = street_id;
	}






	public String getPic() {
		return pic;
	}






	public void setPic(String pic) {
		this.pic = pic;
	}




	
}
